package com.xcity.game.guild.gmember;

import com.alibaba.fastjson.annotation.JSONField;

public class GuildMemberDonate {
	@JSONField(name = "0")
	protected int type;
	@JSONField(name = "1")
	protected int lastDonateCount;
	
	public static int DONATE_TYPE_FREE = 0;
	public static int DONATE_TYPE_1 = 1;
	public static int DONATE_TYPE_2 = 2;
	
	public GuildMemberDonate(){
	}
	
	public GuildMemberDonate(int type, int lastDonateDay, int lastDonateCount){
		this.type = type;
		this.lastDonateCount = lastDonateCount;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public int getLastDonateCount() {
		return lastDonateCount;
	}

	public void setLastDonateCount(int lastDonateCount) {
		this.lastDonateCount = lastDonateCount;
	}
	public void reset(){
		lastDonateCount = 0;
	}
}
